package compound;

import compound.entity.duck.DuckCall;
import compound.entity.duck.MallardDuck;
import compound.entity.duck.RedHeadDuck;
import compound.entity.duck.RubberDuck;

public class DuckFactory extends AbstractDuckFactory {
    @Override
    public QuackAble createMallardDuck() {
        return new MallardDuck();
    }

    @Override
    public QuackAble createRedHeadDuck() {
        return new RedHeadDuck();
    }

    @Override
    public QuackAble createDuckCall() {
        return new DuckCall();
    }

    @Override
    public QuackAble createRubberDuck() {
        return new RubberDuck();
    }
}
